package eu.webhib.extgui.controller.intf;

import eu.webhib.extgui.data.intf.DataItem;
import java.util.List;

/**
 * Data navigation interface for the data items a ListController displays in the view.
 */
public interface ListDataProvider {

   /**
    * Returns the parent of the given data item
    */
   DataItem getViewParent(DataItem dataItem);

   /**
    * Returns the children data item list for the given data item
    */
   List<DataItem> getViewChildren(DataItem dataItem);
}
